<?
require_once($framework."/data.php");
require_once($framework."/html.php");
$product = __template_get("product");
$size = __sysparam("thumbs","size");
?>
<div class="product span-3">
	<p class="title">
	<?= link("show","product",$product['product_id'],_Html::db($product['name'])) ?>
	</p>
	<?= link("show","product",$product['product_id'],"",
			 _Html::db($product['description']),
			 "",
			 "/webapp/public/media/covers/mini/".$product['image']) ?>
	
	<p class="price left"><?= money($product['price']) ?></p>
	<p class="availability left">
			<?= ($product['availability_date']<=__sysparam('system','today')?"available":"(<acronym title=\"Delayed until ".$product['availability_date']."\">Delayed</acronym>)") ?>
	</p>
	<?= addButton($product['product_id'],$product) ?>
</div>
